package cn.ffcs.uec.staff.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.staff.dao.UecNationdutyDao;
import cn.ffcs.uec.staff.manager.UecNationdutyManager;
import cn.ffcs.uec.staff.model.UecNationduty;
import cn.ffcs.uec.staffAndOutStaff.vo.StaffAndOutStaff;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecNationdutyManager")
@Scope("prototype")
public class UecNationdutyManagerImpl implements UecNationdutyManager {

	@Resource
	private UecNationdutyDao uecNationdutyDao;

	@Override
	public PageInfo queryPageInfoByUecNationduty(UecNationduty uecNationduty, int current,
			int pageSize) {
		return uecNationdutyDao.queryPageInfoByUecNationduty(uecNationduty, current, pageSize);
	}

	@Override
	public UecNationduty queryUecNationdutyById(UecNationduty uecNationduty) {
		return uecNationdutyDao.queryUecNationdutyById(uecNationduty);
	}

	@Override
	public PageInfo queryPageInfoByUecNationdutyOnApproval(
			UecNationduty uecNationduty, int current, int pageSize) {
		return uecNationdutyDao.queryPageInfoByUecNationdutyOnApproval(uecNationduty, current, pageSize);
	}

	@Override
	public UecNationduty queryUecNationdutyByNationdutyId(
			UecNationduty uecNationduty) {
		return uecNationdutyDao.queryUecNationdutyByNationdutyId(uecNationduty);
	}

	@Override
	public UecNationduty getUecNationdutyByUecStaffInfo(UecOutStaffInfo uecOutStaffInfo) {
		return uecNationdutyDao.getUecNationdutyByUecStaffInfo(uecOutStaffInfo);
	}

	@Override
	public List<UecNationduty> getUecNationdutyListByPkpsndoc(StaffAndOutStaff uecOutStaffInfo) {
		// TODO Auto-generated method stub
		return uecNationdutyDao.getUecNationdutyListByPkpsndoc(uecOutStaffInfo);
	}
	
}
